<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*p,div,h1,span颜色设置成红色*/
        /*并集选择器：把同一个级别的标签设置成同一个样式*/
        div>p,
        div,
        h1,
        span {
            color: red;
        }
    </style>
</head>
<body>
<div>
    <p>PPPP</p>
    <span>span</span>
    <div>div</div>
    <h1>h1</h1>
</div>
</body>
</html>